package pers.cz.job;

import pers.cz.quartz.job.AbstractQuartzJob;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import java.util.Map;

/**
 * @program: PostGirl-panent
 * @description: TestJob
 * @author: Cheng Zhi
 * @create: 2021-07-21 14:36
 **/
public class TestJob extends AbstractQuartzJob {

    @Override
    public void doJob(JobExecutionContext var1, Map params) throws JobExecutionException {

        String param = (String) var1.getJobDetail().getJobDataMap().get("param");
        System.out.println("这是一个测试job--" + param);

        //RequestQueue.addQueue(ids);
    }
}
